package org.dromara.authcode.domain.vo;

import org.dromara.authcode.domain.TGoods;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 商品视图对象 t_goods
 *
 * @author Miles Meng
 * @date 2025-08-08
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = TGoods.class)
public class TGoodsVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 商品id
     */
    @ExcelProperty(value = "商品id")
    private Long goodsId;

    /**
     * 商品名称
     */
    @ExcelProperty(value = "商品名称")
    private String goodsName;

    /**
     * 价格
     */
    @ExcelProperty(value = "价格")
    private Long price;

    /**
     * 价格币种
     */
    @ExcelProperty(value = "价格币种")
    private String currency;

    /**
     * 点数
     */
    @ExcelProperty(value = "点数")
    private Long points;

    /**
     * 商品描述
     */
    @ExcelProperty(value = "商品描述")
    private String goodsDesc;

    /**
     * Y 是；N 否
     */
    @ExcelProperty(value = "Y 是；N 否")
    private String enable;

    /**
     * 有效月数
     */
    @ExcelProperty(value = "有效月数")
    private Long validMonths;


}
